<?php
/*
 * Created on Sep 10, 2010
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
?>

<html>
	<head>
		<title>My Blog</title>
	</head>
	<body>
		<h1>My Blog</h1>

		<?foreach($posts as $post):?>
			<h3><?=$post->getTitle()?></h3>
			<p>
				<?=$post->getBody()?>
			</p>
		<?endforeach?>
	</body>
</html>
